﻿namespace ZenSystemService.Api.DTOs
{
    public class UserRegisterRequest
    {
        /// <summary>
        /// 手机号码
        /// </summary>
        public string Phone { get; set; }


        /// <summary>
        /// 验证码
        /// </summary>
        public string VerificationCode { get; set; }
    }

    public class UserAppletLoginRequest
    {
        public string Code { get; set; }
    }

    /// <summary>
    /// 学员完善请求信息
    /// </summary>
    public class TraineeInfoImproveRequest
    {
     //   public string? Username { get; set; }

        public string? RealName { get; set; }

        public string? Gender { get; set; }

        public int? InstitutionId { get; set; }

        /// <summary>
        /// 教练ID
        /// </summary>
        public int? CoachId { get; set; }

        public string? Password { get; set; }


        /// <summary>
        /// 生日
        /// </summary>
        public DateTime? Birthday { get; set; }


        /// <summary>
        /// 所在地ID
        /// </summary>
        public int AreaID { get; set; }


        /// <summary>
        /// 身高
        /// </summary>
        public int Height { get; set; }



        /// <summary>
        /// 体重
        /// </summary>
        public int Weight { get; set; }
    }

    /// <summary>
    /// 学员创建子账号请求数据
    /// </summary>
    public class TraineeCreateSubAccountRequest
    {
        public int UserId { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string? RealName { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public string? Gender { get; set; }

        /// <summary>
        /// 生日
        /// </summary>
        public string? Birthday { get; set; }


        /// <summary>
        /// 所在地ID
        /// </summary>
        public int AreaID { get; set; }


        /// <summary>
        /// 身高
        /// </summary>
        public int Height { get; set; }



        /// <summary>
        /// 体重
        /// </summary>
        public int Weight { get; set; }


        /// <summary>
        /// 人物关系ID
        /// </summary>
        public int TraineeRelationId { get; set; }


        /// <summary>
        /// 人物关系备注
        /// </summary>
        public string TraineeRelationIRemark { get; set; }

    }

    public class TraineeDeleteSubAccountRequest
    {
        public int SubUserId { get; set; }
    }

    public class CreateUserMainAccountDTO
    {
        public string Name { get; set; }


        public string Mobile { get; set; }


        public string? Birthday { get; set; }


        public string? Gender { get; set; }
    }


    public class SearchTraineeMainSubAccountRequest
    { 
        public string Mobile { get; set; }
    }

    public class SalesCreateUserRequest
    { 
        public string Name { get; set; }


        public string Mobile { get; set; }


        public string? Birthday { get; set; }


        public string? Gender { get; set; }
    }


    public class SalesCreateSubUserRequest
    {
        public int ParentUserId { get; set; }

        public string Name { get; set; }


        public string? Birthday { get; set; }


        public string? Gender { get; set; }

        /// <summary>
        /// 人物关系ID
        /// </summary>
        public int TraineeRelationId { get; set; }


        /// <summary>
        /// 人物关系备注
        /// </summary>
        public string TraineeRelationIRemark { get; set; }
    }



    public class CoachCreateUserRequest
    {
        public string Name { get; set; }


        public string Mobile { get; set; }


        public string? Birthday { get; set; }


        public string? Gender { get; set; }

        public int CoachId { get; set; }
    }

}
